div {
    width: 100%;
    height: 100px;
}

div:nth-child(1) {
    background-color: cornflowerblue;
}

div:nth-child(2) {
    background-color: pink;
}